package com.sq.abstractClass;

import javax.swing.*;
import java.awt.*;

public abstract class MainFrame extends JFrame{

    Dimension ScreenSize = getToolkit().getScreenSize().getSize();
    protected Dimension NoteSize = new Dimension(
            (int) (ScreenSize.getWidth() * 0.618),
            (int) (ScreenSize.getHeight() * 0.618)
    );
    protected Point NoteLocation = new Point(
            (ScreenSize.width - NoteSize.width) / 2,
            (ScreenSize.height - NoteSize.height) / 2
    );

    protected UpLabel upLabel;
    protected LowLabel lowLabel;
    protected MainText mainText;
    protected MyMenu myMenu;
    protected Text text;

}
